#!/usr/bin/env bash -e

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg |  apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt-get update -y && apt-get install -y yarn
yarn --version
yarn config set registry "$NPM_REGISTRY" -g
yarn config list
yarn global add cross-env node-gyp
